/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package edu.mse.camel.client.whiteboard.gef.whiteboard;

import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;
import org.eclipse.swt.graphics.RGB;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Diagram</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardDiagram#getShapes <em>Shapes</em>}</li>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardDiagram#getLocation <em>Location</em>}</li>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardDiagram#getSize <em>Size</em>}</li>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardDiagram#getBackgroundColor <em>Background Color</em>}</li>
 *   <li>{@link edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardDiagram#getFreeWritingShapes <em>Free Writing Shapes</em>}</li>
 * </ul>
 * </p>
 *
 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getWhiteboardDiagram()
 * @model
 * @generated
 */
public interface WhiteboardDiagram extends EObject {
	/**
	 * Returns the value of the '<em><b>Shapes</b></em>' containment reference list.
	 * The list contents are of type {@link edu.mse.camel.client.whiteboard.gef.whiteboard.Shape}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Shapes</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Shapes</em>' containment reference list.
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getWhiteboardDiagram_Shapes()
	 * @model containment="true"
	 * @generated
	 */
	EList<Shape> getShapes();

	/**
	 * Returns the value of the '<em><b>Location</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Location</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Location</em>' attribute.
	 * @see #setLocation(Point)
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getWhiteboardDiagram_Location()
	 * @model dataType="edu.mse.camel.client.whiteboard.gef.whiteboard.Point"
	 * @generated
	 */
	Point getLocation();

	/**
	 * Sets the value of the '{@link edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardDiagram#getLocation <em>Location</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Location</em>' attribute.
	 * @see #getLocation()
	 * @generated
	 */
	void setLocation(Point value);

	/**
	 * Returns the value of the '<em><b>Size</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Size</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Size</em>' attribute.
	 * @see #setSize(Dimension)
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getWhiteboardDiagram_Size()
	 * @model dataType="edu.mse.camel.client.whiteboard.gef.whiteboard.Dimension"
	 * @generated
	 */
	Dimension getSize();

	/**
	 * Sets the value of the '{@link edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardDiagram#getSize <em>Size</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Size</em>' attribute.
	 * @see #getSize()
	 * @generated
	 */
	void setSize(Dimension value);

	/**
	 * Returns the value of the '<em><b>Background Color</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Background Color</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Background Color</em>' attribute.
	 * @see #setBackgroundColor(RGB)
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getWhiteboardDiagram_BackgroundColor()
	 * @model dataType="edu.mse.camel.client.whiteboard.gef.whiteboard.RGB"
	 * @generated
	 */
	RGB getBackgroundColor();

	/**
	 * Sets the value of the '{@link edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardDiagram#getBackgroundColor <em>Background Color</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Background Color</em>' attribute.
	 * @see #getBackgroundColor()
	 * @generated
	 */
	void setBackgroundColor(RGB value);
    /**
	 * Returns the value of the '<em><b>Free Writing Shapes</b></em>' containment reference list.
	 * The list contents are of type {@link edu.mse.camel.client.whiteboard.gef.whiteboard.FreeWritingShape}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Free Writing Shapes</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Free Writing Shapes</em>' containment reference list.
	 * @see edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardPackage#getWhiteboardDiagram_FreeWritingShapes()
	 * @model containment="true"
	 * @generated
	 */
	EList<FreeWritingShape> getFreeWritingShapes();
	boolean addChild(FreeWritingShape  shape);
	boolean removeChild(FreeWritingShape shape);
	
	 
} // WhiteboardDiagram
